Azure Maps Feature State Service (preview:2023-03-01)

2025/10/06 • 8 deleted methods

FeatureState_CreateStateset (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). The Feature State service allows the user to update the states of a feature and query them to be used in other services. The dynamic properties of a feature that don't belong to the dataset are referred to as *states* here. This Feature State service pivot on the Stateset. Like Tileset, Stateset encapsulates the storage mechanism for feature states for a dataset. Once the stateset is created, users can use that `statesetId` to post feature state updates and retrieve the current feature states. A feature can have only one state at a given point in time. Feature state is defined by the key name, value and the timestamp. When a feature state update is posted to Azure Maps, the state value gets updated only if the provided state's timestamp is later than the stored timestamp. Azure Maps MapControl provides a way to use these feature states to style the features. For more information, see the Render services [Get Map State Tile](/rest/api/maps/render/get-map-state-tile). ### Submit Create Request The `Create Stateset` API is an HTTP `POST` request used to create a new Stateset, defining the values and corresponding styles for its properties in the body of the request. For more information, see [Create a feature stateset](/azure/azure-maps/how-to-creator-feature-stateset).
Reference Link ¶

⚼ Request

POST:  /featureStateSets
{
x-ms-client-id: string ,
api-version: string ,
datasetId: string ,
description: string ,
styleRules:
{
styles:
[
{
keyName: string ,
type: enum ,
}
,
]
,
}
,
}

⚐ Response (200)

{
statesetId: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FeatureState_ListStatesets (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). ### Submit List Statesets Request The `List Statesets` API is an HTTP `GET` request that returns a list of all existing statesets.
Reference Link ¶

⚼ Request

GET:  /featureStateSets
{
x-ms-client-id: string ,
api-version: string ,
}

⚐ Response (200)

{
statesets:
[
{
statesetId: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FeatureState_UpdateStateset (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). ### Submit Update Stateset Request The `Update Stateset` API is an HTTP `PUT` request used to update the stateset style rules of the specified stateset.
Reference Link ¶

⚼ Request

PUT:  /featureStateSets/{statesetId}
{
x-ms-client-id: string ,
api-version: string ,
statesetId: string ,
styleRules:
{
styles:
[
{
keyName: string ,
type: enum ,
}
,
]
,
}
,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FeatureState_DeleteStateset (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). ### Submit Delete Stateset Request The `Delete Stateset` API is an HTTP `DELETE` request used to delete the specified stateset and its associated data.
Reference Link ¶

⚼ Request

DELETE:  /featureStateSets/{statesetId}
{
x-ms-client-id: string ,
api-version: string ,
statesetId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FeatureState_GetStateset (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). ### Submit Get Stateset Request The `Get Stateset` API is an HTTP `GET` request used to retrieve the specified stateset information, including the `datasetId` associated to the stateset, and its styles.
Reference Link ¶

⚼ Request

GET:  /featureStateSets/{statesetId}
{
x-ms-client-id: string ,
api-version: string ,
statesetId: string ,
}

⚐ Response (200)

{
description: string ,
datasetIds:
[
string ,
]
,
statesetStyle:
{
styles:
[
{
keyName: string ,
type: enum ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FeatureState_UpdateStates (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). ### Submit Update States Request The `Update States` API is a `PUT` request that allows the user to update the state of the specified feature in a given stateset.
Reference Link ¶

⚼ Request

PUT:  /featureStateSets/{statesetId}/featureStates/{featureId}
{
x-ms-client-id: string ,
api-version: string ,
statesetId: string ,
featureId: string ,
featureStates:
{
states:
[
{
keyName: string ,
value: string ,
eventTimestamp: string ,
}
,
]
,
}
,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FeatureState_DeleteState (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). ### Submit Delete State Request The `Delete State` API is an HTTP `DELETE` request is used to delete state information defined by the `stateKeyName` parameter for the specified feature as specified by the `featureId`.
Reference Link ¶

⚼ Request

DELETE:  /featureStateSets/{statesetId}/featureStates/{featureId}
{
x-ms-client-id: string ,
api-version: string ,
statesetId: string ,
featureId: string ,
stateKeyName: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FeatureState_ListStates (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). ### Submit List States Request The `List States` API is an HTTP `GET` request that returns the current state information associated with the given feature in the specified stateset.
Reference Link ¶

⚼ Request

GET:  /featureStateSets/{statesetId}/featureStates/{featureId}
{
x-ms-client-id: string ,
api-version: string ,
statesetId: string ,
featureId: string ,
}

⚐ Response (200)

{
states:
[
{
keyName: string ,
value: string ,
eventTimestamp: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}